<?php use_javascript( "jquery-datepick-".$sf_user->getCulture() ) ?>

<div class="container">
    <p>&nbsp;</p>

    <div class="banner">
        <script type="text/javascript"><!--
        google_ad_client = "pub-9572295614921444";
        /* 468x60, создано 30.04.10 */
        google_ad_slot = "3761629276";
        google_ad_width = 468;
        google_ad_height = 60;
        //-->
        </script>
        <script type="text/javascript"
        src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
        </script>
    </div>

    <div class="grid">
        <p>&nbsp;</p>
        <div id="rangeDatepick"></div>
        <div class="clear"></div>
    </div>

</div>

<div class="clear"></div>

<script language="javascript" type="text/javascript">

    var calendar;

    $(function() {
        $('#rangeDatepick').datepick({
            rangeSelect: true,
            numberOfMonths: [2,2],
            changeMonth: false,
            changeYear: false,
            minDate: '<?php echo sfConfig::get( 'app_season_begin' ) ?>',
            maxDate: '<?php echo sfConfig::get( 'app_season_end' ) ?>',
            currentText: 'Календарь'
        });

        $(".datepick-days-cell-over").removeClass("datepick-days-cell-over");

    });

</script>
